package com.xiaojimao.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xaiojimao.gr_common.dto.Result;
import com.xiaojimao.Pojo.Article;
import com.xiaojimao.Vo.ArticleVo;
import org.springframework.stereotype.Service;

public interface ArticleService extends IService<Article> {
    Result getByArticleId(Long id);

    Result createArticle(ArticleVo article);

    Result getArticleList(Integer pageNum, Integer pageSize);

    Result updateArticle(Article article);

    Result userReadHistory(String articleId, String userId);
}
